<!-- 图标二级页面 -->
<template>
	<view>
		<view class="header">
			<view style="width: 750rpx;height: 40rpx;background: #ffffff;"></view>
			<view class="title">
				<view style="display:flex;align-items:center;width: 88rpx;
				height: 88rpx;">
					<image src="/static/iconfont/arrow-left-bold.png" mode="aspectFill" @click="$win.back()"></image>
				</view>
				<text>{{title}}</text>
			</view>
		</view>
		<view class="body">
			<view class="list" v-for="(item,index) in list" @click="$win.show('l3/l3?title='+item.text+'&pic='+item.pic)">
				<image :src="item.pic" mode="aspectFill"></image>
				<text>{{item.text}}</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title:'',
				list:[
					{
						text:'禁止驶入',
						pic:'/static/user/study/1.webp'
					},
					{
						text:'禁止三轮车机动车通过',
						pic:'/static/user/study/2.webp'
					},
					{
						text:'禁止拖拉机驶入',
						pic:'/static/user/study/4.webp'
					},
					{
						text:'禁止非机动车进入',
						pic:'/static/user/study/1.webp'
					},
					{
						text:'禁止通行',
						pic:'/static/user/study/4.webp'
					},
					{
						text:'禁止机动车驶入',
						pic:'/static/user/study/1.webp'
					},
					{
						text:'禁止驶入',
						pic:'/static/user/study/3.webp'
					},
					{
						text:'禁止驶入',
						pic:'/static/user/study/2.webp'
					},
				]
			}
		},
		methods: {
			
		},
		onLoad(option) {
			this.title=option.title
		}
	}
</script>

<style lang="scss">
	page{
		background-color: #f2f3f5;
	}
.title {
		display: flex;
		align-items: center;
		width: 750rpx;
		height: 88rpx;
		background: #ffffff;

		text {
			font-size: 34rpx;
			font-family: Source Han Sans CN, Source Han Sans CN-Regular;
			font-weight: 400;
			text-align: left;
			color: #333333;

		}

		image {
			width: 22rpx;
			height: 37rpx;
			margin-left: 28rpx;
		}
	}
	
	.body{
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		max-height: 1175rpx;
		max-width:750rpx ;
		overflow-y: auto;
		padding: 10rpx 15rpx;
		// width: 750rpx;
		.list{
			display: flex;
			flex-direction: column;
			align-items: center;
			margin: 10rpx;
			width: 340rpx;
			height: 370rpx;
			background: #ffffff;
			border-radius: 16px;
			image{
				margin-top: 40rpx;
				width: 220rpx;
				height: 220rpx;
			};
			text{
				margin-top: 42rpx;
				max-width: 280rpx;
				font-size: 28rpx;
				font-family: Source Han Sans CN, Source Han Sans CN-Regular;
				font-weight: 400;
				text-align: center;
				overflow: hidden;  
				white-space: nowrap;  
				text-overflow: ellipsis;
				color: #4988f5;
			}
		}
	}
</style>
